package com.java123.t9.demo;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;

public class DemoConvert {
	
	public static void main(String[] args) {
		File file = new File("C:" + File.separator + "Users" + File.separator + "kevin" + File.separator + "Desktop"
				+ File.separator + "test1.txt");
		try {
			InputStream in  = new FileInputStream(file);
			Reader rd = new InputStreamReader(in);
			
			OutputStream out = new FileOutputStream(file);
			Writer wt = new OutputStreamWriter(out);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		
	}

}
